<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/popper.js/1.15.0/umd/popper.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
    <title>修改公告</title>
    <style>
        *{
            background: #343a40;
            margin: 0 auto;
        }
        input{
            width: 600px;
            height: 40px;
            color: #fffdfd;
            font-size: 18px;
        }
        div{
            position: fixed;
            width: 100%;
            height: 100%;
        }
        form{
            position: absolute;
            top: 30%;
            right: 30%;

        }
    </style>
</head>
<body>
    <div>
    <form  method="post" th:action="@{/notice/update}">
        <div class="input-group mb-3 input-group-lg">
             <input type="text" name="noticeId" placeholder="公告ID" th:value="${notice.noticeId}"><br>
        </div>
        <div class="input-group mb-3 input-group-lg">
            <input type="text" name="noticeTitle" placeholder="公告标题" th:value="${notice.noticeTitle}"><br>
        </div>
        <div class="input-group mb-3 input-group-lg">
            <input type="text" name="noticeContent" placeholder="公告内容" th:value="${notice.noticeContent}"><br>
        </div>
        <div class="input-group mb-3 input-group-lg">
            <input type="text" disabled="true" name="noticeCreateTime" placeholder="发布时间" th:value="${notice.noticeCreateTime}"><br>
        </div>
        <div class="input-group mb-3 input-group-lg">
        <input type="submit" th:value="提交">
        </div>
    </form>
    </div>
</body>
</html>